#ifndef REGIONCONNECT_H_
#define REGIONCONNECT_H_

#include <string>
#include "ariba/ariba.h"

using namespace ariba;
using std::string;

using_serialization;

class RegionConnect : public Message {
	VSERIALIZEABLE;

public:
	RegionConnect();
	RegionConnect(string _name, uint32_t _positionX, uint32_t _positionY, uint32_t _timestamp);
	virtual ~RegionConnect();

	string getName();
	uint32_t getTimestamp();
	uint32_t getPositionX();
	uint32_t getPositionY();

private:
	string name;
	uint32_t timestamp;
	uint32_t positionX;
	uint32_t positionY;
};

sznBeginDefault( RegionConnect, X ) {
	X && T(name) && timestamp && positionX && positionY;
} sznEnd();

#endif /* REGIONCONNECT_H_ */
